package Message.Game
{
    import Framework.MQ.*;
    import Framework.Serialize.*;

    public class SKillEvilReleaseInfo extends Object implements IMessageBase
    {
        public var expHuman:int;
        public var expEarth:int;
        public var expHeaven:int;
        public var expGod:int;
        public var releaseHuman:int;
        public var releaseEarth:int;
        public var releaseHeaven:int;
        public var releaseGod:int;
        public var gotHuman:int;
        public var gotEarth:int;
        public var gotHeaven:int;
        public var gotGod:int;
        public var canReleaseCount:int;
        public const _type:int = 12100;
        public static var _regist:SKillEvilReleaseInfo = new SKillEvilReleaseInfo(true);

        public function SKillEvilReleaseInfo(param1:Boolean = false)
        {
            if (param1)
            {
                MessageManager.instance().regist(this);
            }
            
        }

        public function getType() : int
        {
            return this._type;
        }

        public function clone() : IMessageBase
        {
            return new SKillEvilReleaseInfo();
        }

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.expHuman);
            param1.writeInt(this.expEarth);
            param1.writeInt(this.expHeaven);
            param1.writeInt(this.expGod);
            param1.writeInt(this.releaseHuman);
            param1.writeInt(this.releaseEarth);
            param1.writeInt(this.releaseHeaven);
            param1.writeInt(this.releaseGod);
            param1.writeInt(this.gotHuman);
            param1.writeInt(this.gotEarth);
            param1.writeInt(this.gotHeaven);
            param1.writeInt(this.gotGod);
            param1.writeInt(this.canReleaseCount);
            
        }

        public function __read(param1:SerializeStream) : void
        {
            this.expHuman = param1.readInt();
            this.expEarth = param1.readInt();
            this.expHeaven = param1.readInt();
            this.expGod = param1.readInt();
            this.releaseHuman = param1.readInt();
            this.releaseEarth = param1.readInt();
            this.releaseHeaven = param1.readInt();
            this.releaseGod = param1.readInt();
            this.gotHuman = param1.readInt();
            this.gotEarth = param1.readInt();
            this.gotHeaven = param1.readInt();
            this.gotGod = param1.readInt();
            this.canReleaseCount = param1.readInt();
            
        }

    }
}
